Data Management
Data Sources
The administrator's data management service is dedicated to the AI Reports data sources. Only administrators have the authority to add, edit, or delete data sources in data management.
Connecting Data Sources
Steps for administrators to connect data sources in data management:
-
Navigate to the Data Source Management Page
- Go to "Settings -> Data Management -> Data Sources" page.
-
Click the "+" Button to Add a Data Source
- Click the "+" button on the right side of the page to start adding a data source.
-
Enter Data Source Information
- Data Source Name: Assign a unique name to the data source.
- Description: Provide a brief description of the data source to help identify it.
-
Synchronize Database
- Click the "Synchronize Database" button to configure database connection settings.
- Select Database Type: Currently supports SQL Server and MySQL database types.
- Enter Database Information:
- Host: Enter the database host address.
- Port: Enter the database port.
- Username: Enter the database username.
- Password: Enter the database password.
- Database Name: Enter the name of the database to connect to.
-
Add Tables and Edit Table Structure
- After connecting to the database, administrators can add tables, view table names, and edit table structures.
-
Enter Necessary Relation Information
- Input the relationships between tables to ensure proper data association.
-
Click "Add Data Source"
- After completing the above configurations, click the "Add Data Source" button to successfully add the data source.
Editing Data Sources
Administrators can edit basic information such as the name and table names of data sources. The editable information is consistent with the information provided when adding a new data source.
-
Navigate to the Data Source Management Page
- Go to "Settings -> Data Management -> Data Sources" page.
-
Find the Data Source to Edit
- Locate the data source to be edited in the data source list and hover over the data source card.
-
Click the "Edit" Button
- Click the "✏️" button at the bottom left of the card to enter the edit page.
Deleting Data Sources
Steps to delete a data source:
-
Enter the Data Source Management Page
- Go to "Settings -> Data Management -> Data Sources" page.
-
Select the Data Source to Delete
- Locate the data source to be deleted and hover over the data source card.
-
Click the "Delete" Button
- Click the "Delete" button on the data source card.
-
Confirm Deletion
- The system will display a confirmation window. After confirming, click the "Confirm" button to delete the data source.
Report Management
Administrators can create, edit, and delete report categories in report management, as well as view all report names under each category. Report categories help organize related reports for easier management and retrieval.
Viewing All Reports Under a Category
- Enter the Report Management Page: In system settings, select "Report Management" to access the page.
- View Report Categories: All report categories are displayed on the left side. Click a category to view all report names under it on the right side, including report names and creation dates.
- Perform Operations: Administrators can edit or delete reports under each category. Click the "Edit" button to modify a report or the "Delete" button to remove a report.
Creating a New Report Category
- Click the "New" Button: On the report management page, click the "New" button on the left side to start creating a new report category.
- Fill in Report Category Information:
- Report Category Name: Assign a unique name to the new report category.
- Sort Order: Specify a sort order number for the report category for easier management.
- Click "Save": After filling in all necessary information, click the "Save" button to successfully create the new report category.
Editing Report Categories
- Select the Report Category to Edit: Choose the category to be edited from the list of report categories.
- Click the "Edit" Button: Enter the edit page where administrators can modify the name and sort order of the report category.
- Save Changes: After editing, click the "Save" button to update the report category.
Deleting Report Categories
- Select the Report Category to Delete: Choose the category to be deleted from the list of report categories.
- Click the "Delete" Button: After confirming, the report category can be deleted.